﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports roncliProductions.LibWowArmory.Data
Imports roncliProductions.LibWowArmory.Enums

Namespace roncliProductions.LibWowArmory.Item

    ''' <summary>
    ''' A class containing information about an item.
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Item

        ''' <summary>
        ''' The ID number of the item.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property ID As Integer

        ''' <summary>
        ''' The name of the item.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Name As String

        ''' <summary>
        ''' A path leading to the item's icon on the server.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Icon As String

        ''' <summary>
        ''' The quality of the item.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Quality As Quality

        ''' <summary>
        ''' The class of the item.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property ItemClass As ItemClass

        Protected Friend Sub New(intID As Integer, strName As String, strIcon As String, qQuality As Quality, icItemClass As ItemClass)
            ID = intID
            Name = strName
            Icon = strIcon
            Quality = qQuality
            ItemClass = icItemClass
        End Sub

    End Class

End Namespace
